import Vue from 'vue'
import Vant from 'vant'
import { Lazyload } from 'vant';
import { CountDown } from 'vant';
import App from './App.vue'
import router from './router'
import store from './store'
import api from './http'
import 'vant/lib/index.css'

import OccupyBlock from '@/components/OccupyBlock'
import PaddingBottom from '@/components/PaddingBottom'

Vue.use(Vant)
Vue.use(Lazyload)
Vue.use(CountDown)

Vue.config.productionTip = false
Vue.use(api)
// Vue.prototype.global = global
Vue.component("OccupyBlock",OccupyBlock);
Vue.component("PaddingBottom",PaddingBottom);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
